mistral

Mistral: Mistral Medium 2505

models/Mistral Medium 2505

This is Mistral AI's closed source, medium sided model. It's powered by a closed source prototype and excels at reasoning, code, JSON, chat, and more. In benchmarks, it compares with many of the flagship models of other companies.
Currency$USD
Input$2.75
Output$8.10
Context window32K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configmistral/mistral-medium-2505
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="mistral/mistral-medium-2505",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])